package com.java01.string.regex;

public class ReplaceString {

	public static void main(String[] args) {
		String target = "www.java01.com";
		
		System.out.println("before="+target);
		String newString = target.replaceAll("\\.", "/");
		System.out.println("after="+newString);
		newString = newString.replaceAll("java", "jAvA");
		System.out.println("final="+newString);
	}
}
